Communication methods and apparatuses

ABSTRACT

Communication methods and apparatuses are provided.

TECHNICAL FIELD

This invention relates to communication methods and apparatuses.

BRIEF DESCRIPTION OF THE DRAWINGS

In the following, exemplary embodiments of the invention will bedescribed with reference to the attached drawings, which are to be takenas illustrative examples only and not to be construed as limitative.

FIG. 1 is a schematic block diagram of an embodiment of a communicationsystem;

FIG. 2 is a block diagram of an embodiment of a transmitter;

FIG. 3 is a block diagram of an embodiment of a receiver;

FIG. 4 is a flow diagram of an embodiment of a communication method;

FIGS. 5 and 6 are exemplary diagrams for explaining step 30 of theembodiment of FIG. 4;

FIGS. 7 and 8 are exemplary diagrams for illustrating step 31 of theembodiment of FIG. 4;

FIGS. 9 and 10 are exemplary diagrams for illustrating step 33 of theembodiment of FIG. 4; and

FIGS. 11 and 12 are exemplary diagrams for explaining features ofembodiments of the present invention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

In the following, exemplary embodiments of the present invention will bedescribed in detail. It is to be understood that the followingdescription is given only for the purpose of illustrating the inventionand is not to be taken in a limiting sense. In particular, the scope ofthe invention is not intended to be limited by the exemplary embodimentsdescribed hereinafter.

It is also to be understood that, in the following description ofexemplary embodiments, any direct connection or coupling betweenfunctional blocks, devices, components or other physical or functionalunits shown in the drawings or described herein could also beimplemented by an indirect connection or coupling. While some of theexemplary embodiments will be described in the context of digitalsubscriber line (DSL) technology below, it is to be understood that thevarious embodiments are not limited thereto. Rather, the methods andapparatuses described below may be applied in other communicationdevices and methods.

It should be understood that the features of the various exemplaryembodiments described herein may be combined with each other unlessspecifically noted otherwise.

In FIG. 1, an embodiment of a communication system according to thepresent invention is shown. The communication system of the embodimentshown in FIG. 1 comprises a first transceiver 10 and a secondtransceiver 13. First transceiver 10 and second transceiver 13 bothrepresent embodiments of communication apparatuses of the presentinvention.

First transceiver 10 comprises a transmitter 11 and a receiver 12. Inthe embodiment shown in FIG. 1, transmitter 11 receives data to betransmitted via an input 16 and transmits corresponding data over aplurality of links 17. While in the embodiment of FIG. 1 two links 17are shown in an exemplary manner, in other embodiments as indicated bydots in FIG. 1 more than two links, for example three links, four links,five links, etc., may be used. The use of a plurality of links for datatransmission is sometimes also referred to as bonding. In anotherembodiment, only a single link 17 is used.

In an embodiment, the communication system of FIG. 1 is a wire-basedcommunication system. In this case, in an embodiment, links 17 useseparate transmission lines for data transmission. In an embodiment, theseparate lines are twisted pair copper lines.

Second transceiver 13 in the embodiment of FIG. 1 comprises atransmitter 14 and a receiver 15. Receiver 15 in the embodiment of FIG.1 receives data via the plurality of links 17 and outputs correspondingreceived data via an output 18.

On the other hand, transmitter 14 of second transceiver 13 in theembodiment of FIG. 1 receives data to be transmitted via an input 19 andtransmits corresponding data via a plurality of links 20 to firsttransceiver 10, where receiver 12 receives the data transmitted via theplurality of links 20 and outputs the received data via an output 21.

While in the embodiment of FIG. 1 two links 20 are shown, as indicatedby dots any number of links 20 may be used in embodiments of the presentinvention. In an embodiment, only a single link 20 is used.

In an embodiment, links 17 use the same physical links as links 20. Forexample, if the individual links use copper lines, the same copper linesare used for transmitting data from transmitter 11 to receiver 15 andfor transmitting data from transmitter 14 to receiver 12. In otherembodiments, separate physical links are used for links 17 and links 20.

The embodiment of a communication system shown in FIG. 1 is abidirectional communication system, i.e., data may be transmitted fromtransceiver 10 to transceiver 13 and vice versa. In another embodiment,a communication system with a unidirectional communication is provided.For example, in such an embodiment only transmitter 11, link 17 andreceiver 15 with the corresponding input 16 and output 18 may bepresent.

In an embodiment, transceiver 13 may be located at the location of aprovider of telecommunication services (central office, CO), whiletransceiver 10 is located at the site of a customer of this serviceprovider (customer's premises, CPE). However, in another embodimentother locations of transceiver 10 and 13 may be employed.

In an embodiment, the delay of data sent via the links betweentransmitter and receiver (in the embodiment of FIG. 1, links 17 betweentransmitter 11 and receiver 15 and/or links 20 between transmitter 14and receiver 12) differs between the individual links. In other words,data units sent by a transmitter via a plurality of links in anembodiment may be received by the receiver in a different order thansent by the transmitter. In an embodiment, the transmitter assigns anidentification, for example, a consecutive number, to each data unitsent, and the receiver uses this identifier to put the received dataunits in the correct order.

In an embodiment of transmitter 11 of FIG. 1 which is depicted in FIG.2, transmitter 11 comprises a transmitter circuit 25 receiving data viainput 16. Transmitter circuit 25 in an embodiment may comprise amodulator circuit, an interleaver circuit 29, amplifiers and/or othercircuitry conventionally used for transmitting data. Transmitter circuit25 is configured to forward data to be sent to delay units 26, whereinone delay unit 26 is assigned to each link 17. In an embodiment, delayunits 26 provide adjustable delays for the data. In an embodiment, thedelays of delay units 26 are set to at least partially compensate forthe different delays of the links 17.

Delay units 26 in an embodiment may be realized as FIFO(first-in-first-out) buffers of adjustable depth. In another embodiment,a plurality or all of the delay units 26 are realized by using a commonmemory where incoming data is stored and output again after theadjustable delay.

While in FIG. 2 an embodiment of transmitter 11 of FIG. 1 has beenshown, a transmitter with such a structure or a similar structure, forexample, in the embodiment of FIG. 1 additionally or alternatively maybe used as transmitter 14. In another embodiment, a differenttransmitter structure may be used.

In FIG. 3, an embodiment of receiver 15 of FIG. 1 is shown. In theembodiment of FIG. 3, receiver 15 comprises a receiver circuit 27 forreceiving data via links 17 and outputting data via output 18. Receivercircuit 27 in an embodiment may, for example, comprise a demodulatorcircuit, filters, a deinterleaver circuit and/or other circuitryconventionally used for receiving data. Furthermore, receiver 15 of theembodiment of FIG. 3 comprises a calculation circuit 28. In anembodiment, calculation circuit 28 serves for determining delayinformation regarding the individual links. Such delay information in anembodiment is then used for determining individual delays for delayunits 26 of the embodiment of FIG. 2. To this end, the determined delayinformation or the individual delays obtained therefrom may becommunicated from receiver 15 to transmitter 11 via transmitter 13 andreceiver 12. In another embodiment, receiver 15 may additionallycomprise transmit circuitry for transmitting such information and/orother information relevant for the control and establishment of thecommunication via links 17 to transmitter 11.

While in the embodiment shown in FIG. 3 a calculation circuit fordetermining delay information is incorporated in receiver 15, in otherembodiments such a calculation circuit may additionally or alternativelybe incorporated in the corresponding transmitter. Furthermore, whileFIG. 3 shows an embodiment of receiver 15 of FIG. 1, a correspondingreceiver structure additionally or alternatively may be employed asreceiver 12 of FIG. 1. In yet another embodiment, other receiverstructures are used.

An embodiment of a method for determining delay information andadjusting delays like delays of delay units 26 of FIG. 2 will bediscussed with reference to FIG. 4. Such a method may, for example, beimplemented in calculation circuit 28 of FIG. 3. However, the use of themethod according to the embodiment of FIG. 4 and other embodiments isnot limited to the embodiments of FIGS. 2 and 3, but may in general beused for determining delays in suitable communication systems.

Moreover, in order to give a better understanding of the embodiment ofFIG. 4, the various steps described therein will be explained withreference to FIGS. 5-12 taking ADSL2 (Assymetric Digital SubscriberLine) communication as defined, for example, in the standard ITU-TG.992.3 as an exemplary communication standard. However, it is to beunderstood that the reference to ADSL2 communication serves only to givea clearer understanding of the embodiment of FIG. 4 and is not to beconstrued as limitative, since the principles which will be explainedwith reference to FIG. 4 may be employed with other types ofcommunication, both wireless and wire-based, as well.

In a step 30 of the embodiment of FIG. 4, communication parameters aredetermined for each of the links used for transmitting data, forexample, for each of links 17 and/or each of links 20 of the embodimentof FIG. 1. Such communication parameters in an embodiment may, forexample, determine the form of a data structure, for example, a framestructure, used for sending data via the links and may also determineparameters like a bit rate of the respective links.

In ADSL2 as defined by the above-mentioned standard, communicationparameters comprise so called base framing parameters, among them B_(p),M_(p), R_(p), T_(p), D_(p) and L_(p), the meaning of which will beexplained below. In these parameters p is an index specifying a latencypath to which the parameter applies in case a plurality of so calledlatency paths are used in the communication system. For example, in anembodiment of a communication path without an interleaver and acommunication path comprising an interleaver, for interleaving data tobe sent may be provided, i.e., two paths having different latencies.Interleaving, in this respect is a technique used in a communicationsystem in connection with so called forward error connection (FEC),wherein consecutive data units are “spread” over a greater time spansuch that in case of impulses corrupting the transmission only a reducednumber of consecutive data units is destroyed.

L_(p) gives the number of bits per DMT (discrete multi tone modulation)symbol, discrete multi tone modulation referring to a modulation methodconventionally used in ADSL communication. D_(p) gives the interleavingdepth, i.e., the depth of an interleaver used for the above-mentionedinterleaving. R_(p) gives the number of Reed-Solomon redundancy octetsper so called FEC data frame. A FEC data frame comprises the data overwhich FEC encoding is performed, in this case by using Reed-Solomonencoding. Through adding redundancy octets, if only some of thetransmitted data is destroyed, it may be reconstructed. B_(p) is a ratioof a number of so called MUX data frames to the number ofsynchronization octets. A synchronization octet in other words isinserted with every T_(p)-th MUX data frame, the synchronization octetbeing used for synchronization. M_(p) gives the number of MUX dataframes in an FEC data frame, and B_(p) gives the nominal number ofoctets per MUX data frame. In an embodiment, one octet corresponds toone byte.

Example of frame structures depending on such parameters where framestructures are, in an embodiment where ADSL2 is used, used fortransmitting data via the individual links, will be explained withreference to FIGS. 5 and 6.

In FIG. 5, an example with M_(p)=4 and T_(p)=3 is shown. In FIG. 5, ineach line an FEC frame is shown comprising four MUX frames 40 (forclarity's sake, only one of the MUX frames bears the reference numeralin FIG. 5) each comprising B_(p) octets. Additionally, each FEC framecomprises R_(p) redundancy octets designated with reference numeral 41,wherein again only one of the R_(p) octets is shown with the referencenumeral in FIG. 5. In such a case, each FEC frame comprisesN_(p)=M_(p)·(B_(p)+1)+R_(p) octets.

The synchronization octets are marked with “S” in FIG. 5, one of thesynchronization octets being exemplary designated with reference numeral42. Since T_(p)=3 in the example of FIG. 5, a synchronization octet 42is present in every third MUX frame 40. The structure repeats afterN_(p)·T_(p) octets or, in other words, the structure shown in FIG. 5 isrepeated. It should be noted that the representation with lines andcolumns as in FIG. 5 is for illustration purpose only, and the data issent consecutively over the respective link in a correspondingembodiment.

In FIG. 6, a further example of a frame structure is shown, whereinM_(p)=4 and T_(p)=5. The reference numerals for MUX frames, redundancyoctets and synchronization octets are the same as already used in FIG.5. In case of FIG. 6, the structure repeats again after N_(p)·T_(p)octets, or in other words, the structure shown in FIG. 6 is transmittedrepeatedly over a respective link.

The structures shown in FIGS. 5 and 6, i.e., the structure comprisingN_(p)·T_(p) octets which is repeated, will also be referred to as amultiframe in the following.

As illustrated, for example, in the embodiment of FIG. 1, over suchlinks data, for example received via input 16 of FIG. 1, is transmitted.In an embodiment, the data to be transmitted is present in the form ofdata units. In the example of ADSL2 transmission, the data units may bein the form of ATM (Asynchronous Transfer Mode) cells. ATM cells are anexample for so called transmission convergence sublayer (TC sublayer)data units, and in other embodiments other TC sublayer data units may beused.

In an embodiment, the data units are distributed to the individual linksand, as mentioned above, in an embodiment assigned with anidentification to enable a corresponding receiver to restore theoriginal sequence of the data units.

In an embodiment, for each individual link, the data units to betransmitted are “mapped” on the data structure used for transmission,for example, in case of ADL2 transmission the already mentioned ATMcells are mapped on the data structure as in an exemplary manner shownin FIGS. 5 and 6. In such a case, only parts of the data structure notused for other purposes like synchronization octets or redundancy octetsmay be used to transmit the actual “payload data”, in this case the ATMcell.

Returning now to FIG. 4, in step 31 of this embodiment a worst caseposition of the data unit to be sent within the data structure used fortransmission is determined. Worst case position in the embodiment ofFIG. 4 relates to the position causing the greatest delay.

The determining of a worst case position of step 31 of the embodiment ofFIG. 4 will be illustrated again using ADSL2 as an example withreference to FIGS. 7 and 8. In FIG. 7, the worst case placement of anATM cell within multiframes with M_(p)=4 and T_(p)=3 as in the exampleof FIG. 5 is shown. The octets occupied by the ATM cell are shown in ashaded manner and are located in a portion generally designated 45 inFIG. 7. In case of this worst case placement, the last byte or octet ofthe ATM cell as designated with reference numeral 46 in FIG. 7 coincideswith the first octet of a multiframe.

When the ATM cell is transmitted in such a manner, in the illustrativeexample of ADSL2 transmission the last octet 46 of the ATM cell may onlybe processed when the so-called cyclic redundancy check of thecorresponding FEC frame has been performed, for which corresponding,i.e., following redundancy octets 48 (see FIG. 8) are needed. In otherwords, the last byte 46 of the ATM cell can only be processed after thecorresponding redundancy octet 48 has been received.

To illustrate this, in FIG. 8 the portions of the multiframes which haveto be received for processing the ATM cell shown in FIG. 7 arerepresented in a shaded manner in a portion 47. In particular,processing of the ATM cell may only be performed when the redundancyoctets labeled with reference numeral 48 have been received. This causesa delay which is based on the time needed for receiving the octets fromimmediately after the last byte 46 of the ATM cell up to the redundancyoctets labeled 48 in FIG. 8. Again, the explanations with reference toFIGS. 7 and 8 are to be taken only as illustrative, and in otherembodiments which may use other communication standards a worst caseposition may be determined using the same principles, for example, bydetermining the position of a data unit within a data structure whereina maximum number of additional bytes or symbols has to be receivedbefore processing of the data unit may be performed.

Returning now to FIG. 4, in step 32 based on the worst case positiondetermined in step 31 a worst case delay is calculated. In other words,when calculating the worst case delay the time needed to receive alldata needed for processing a data unit, for example a TC sublayer dataunit like to above-mentioned ATM cell, is taken into account. Inaddition to the delay caused by the worst case position determined instep 31, in an embodiment additional delays, which, for example, may becaused by the physical implementation of transmitter and/or receiverand/or delays caused by requirements of a corresponding communicationstandard may be taken into account. Such delays may, in an embodiment,for example, include a delay caused by interleaving, a delay caused byinsertion of data into the data stream which cannot be used to transmitpayload data like the above-referenced data units, for example,insertion of synchronization information, redundant information and thelike, misalignment of symbols of different links or lines in a group,misalignment between an end of a frame and an end of symbol in a frame,insertion of idle data, i.e., data not carrying information and thelike. For illustrating step 32 further, an example of a pseudocodeaccording to an embodiment which uses ATM cells transmitted via an ADSL2link will be given in the following:

-   -   1: N_(p)=M_(p)·(B_(p)+1)+R_(p)    -   2: X=2·53    -   3: Y1=N_(p)    -   4: X1=X−1    -   5: MF=floor(X1/(T_(p)·M_(p)·(B_(p)+1)−M_(p)))    -   6: Y2=MF·N_(p)·T_(p)    -   7: X2=X1−MF·(T_(p)·M_(p)·(B_(p)+1)−M_(p))    -   8: MMDF=floor(X2/(T_(p)·(B_(p)+1)−1))    -   9: MDFB1=MMDF·T_(p)·(B_(p)+1)    -   10: X3=X2−MMDF·(T_(p)·(B_(p)+1)−1)    -   11: if X3>B_(p) then MDFB2=X3+1 else MDFB2=X3    -   12: MDFB=MDFB1+MDFB2    -   13: F=floor(MDFB/M_(p)·(B_(p)+1))    -   14: Y3=F·N_(p)    -   15: MDFBR=MDFB−F·(M_(p)·(B_(p)+1))    -   16: MDFBR>0 then Y4=MDFBR+R_(p) else Y4=0    -   17: Y=Y1+Y2+Y3+Y4+(N_(p)−1)(D_(p)−1)    -   18: MaxDelayInSymbols(z)=8·Y/L_(p)+6

In line 1, the number of bytes N_(p) in an FEC frame is calculated asalready explained with reference to FIGS. 5-8.

In line 2, X is defined as the number of payload bytes to betransmitted. In the present example, X is set to two times 53, i.e., thenumber of bytes of two ATM cells, one ATM cell consisting of 53 bytes.This corresponds to a scenario, for example, at the beginning of atransmission, where a payload cell consisting of 53 bytes arrives to betransmitted just when previously no payload cell was present andtherefore an idle cell also consisting of 53 bytes has been inserted tobe transmitted. Therefore, X in this case corresponds to the number ofbytes of the idle cell and the payload cell (sometimes also referred toa user cell).

As explained with reference to FIGS. 7 and 8, in the worst case positionthe last byte of the cells or cell to be transmitted coincides with thefirst byte or octet of a multiframe. In this case, as already explainedpreviously with reference to FIGS. 7 and 8, for processing of this lastbyte at the receiver the whole FEC frame consisting of N_(p) bytes hasto be received. Therefore, in line 3 Y1 corresponding to the number ofbytes which have to be transmitted for the last byte of the X bytesdefined in line 2 is set to N_(p).

In line 4, X1 is set to X−1, i.e., X1 represents the rest of X which hasto be taken into account after the number of bytes for the last byte ofX has already been determined in line 3.

In line 5, the number of full multiframes MF needed for transmitting theremaining X1 bytes is calculated. In this case “floor” is a function,that as a result yields the integer part of its argument. For example,floor (3.73)=3. A multiframe, as already explained, relates to thestructure which is transmitted repeatedly comprising M_(p)·T_(p) byteswhich in an exemplary manner is shown in FIGS. 5 and 6.

In line 6, a number Y2 of bytes corresponding to the number ofmultiframes MF calculated in step 5 is calculated. It should be notedthat the term T_(p)·M_(p)·(B_(p)+1)−M_(p) represents the number ofpayload bytes in a multiframe, whereas the expression N_(p)·T_(p) usedin line 6 represents the total number of bytes including redundancybytes and synchronization octets.

In line 7, the still remaining bytes X2 are calculated by subtractingthe number of bytes transmitted in the number of multiframes MFcalculated in step 5 from X1.

In line 8, the number of groups of T_(p) MUX frames (also referred to asmulti MUX frame hereinafter) needed for the X2 bytes is calculated. Inthis respect, each MUX frame has B_(p)+1 bytes, wherein for the wholemulti MUX frame one byte is used for a synchronization octet.

In line 9, the number of bytes MDFB1 of the number of MMDF multi MUXframes is calculated.

In line 10, a remaining number X3 of bytes to be treated is calculatedby subtracting the number of payload bytes transmitted in the MMDF multiMUX frames from X2.

In line 11, the number of bytes in further MUX frames needed for theremaining X3 bytes is calculated. In particular, if X3>B_(p) anadditional sync octet has to be transmitted as worst case.

In line 12, the total number of needed MUX data frame bytes for X2 iscalculated by adding MDFB1 to MDFB2.

In step 13, the number of complete FEC frames needed for the bytescalculated in step 12 is calculated, one FEC frame comprising as, forexample, shown in FIGS. 5 and 6, M_(p)·(B_(p)+1) MUX frame bytes.

In step 14, a number Y3 of bytes to be transmitted for the number of FECframes calculated in step 13 is calculated, wherein additionally theredundancy bytes are taken into account.

In step 15, the number of remaining bytes from MDFB, i.e., the number ofbytes of MDFB which do not fill up complete FEC frames, is calculated.These bytes correspond to the shaded portion in the second line in theexample of FIG. 7.

In line 16, the number of bytes Y4 needed for transmitting this “rest”MDFBR is calculated. In particular, if MDFBR is greater than zero, R_(p)redundancy bytes additionally have to be transmitted.

In line 17, the total number of bytes Y which need to be transmitted fortransmitting the X bytes defined in line 2 in the worst case iscalculated. Y is a sum of Y1 to Y4 with an additional term(N_(p)−1)(D_(p)−1) taking interleaver delay into account. Thisinterleaver delay will be discussed briefly with reference to FIGS. 11and 12.

In FIG. 11, a case with an interleaver depth D_(p)=1 corresponding to nointerleaving is shown. For illustration, N_(p)=5 is assumed. The bytesof a first FEC data frame are labeled a, the bytes of a second FEC dataframe are labeled b, the bytes of a third FEC data frame are labeled cand the bytes of a fourth FEC data frames are labeled d. In this case,the FEC data frames are transmitted consecutively to the receiver, thefirst FEC data frame (the bytes of which are labeled a) arriving at thereceiver first.

In FIG. 12, the situation with D_(p)=2, i.e., with interleaving, isshown. In case of D_(p)=2, between two bytes of a given FEC data frame abyte from a different FEC data frame is inserted. The correspondingsequence of bytes is shown in FIG. 12. In FIG. 12, x denotes bytescorresponding to initial values of the interleaver i.e., idle byteswhich are inserted to be able to start interleaving directly. The label,e corresponds to bytes of a SEC data frame following the fourth FEC dataframe of FIG. 11. In case no FEC data frame follows, idle bytes may beused instead. As can be seen when comparing FIGS. 11 and 12, throughinterleaving the arrival of the last byte of the fourth data frame isdelayed by (M_(p)−1)(D_(p)−1) bytes.

Finally, the maximum delay in symbols is calculated in line 18, whereinthe index z denotes the respective link. L_(p) denotes the number ofbits per symbols, such that 8·Y/L_(p) denotes the number of symbolsneeded for transmitting the Y bytes calculated in step 17. Furthermore,in the illustrative example shown, six additional symbols are addedwhich in the ADSL2 standard are used as synchronization symbols, cyclicprefix and also reflect the possibility of symbol misalignment betweendifferent links, symbol frame misalignment and processing delay in thephysical implementation of the transmitter. In some communicationstandards, it is specified which delay is allowed for the physicalrealization. For example, an ATM based multi pair bonding according toITU-G 998.1 a delay of two symbols corresponding to 0.5 ms is allowable.

As a matter of course, the pseudocode is to be taken only as an example,and other ways of calculating the above result are equally possible.

Returning now to FIG. 3, in step 33 the best case position of a dataunit to be transmitted within a data structure used for transmitting isdetermined. In other words, in step 33 the position of the data unit tobe transmitted within the data structure which causes the minimum delay,for example, through additional data which has to be transmitted beforeprocessing may begin in a receiver, is determined. This will be againexplained in an illustrative manner using ADSL2 as an example withreference to FIGS. 9 and 10.

In FIGS. 9 and 10, the same multiframe structure as in FIGS. 7 and 8 isshown, i.e., M_(p)=4 and T_(p)=3.

In FIG. 9, the best case position of an ATM cell (or other data unit tobe transmitted) is shown in a shaded manner in a portion generallydesignated with reference numeral 49. In this case, the last byte of theATM cell to be transmitted labeled with reference numeral 50 coincideswith the last byte of a last MUX data frame within an FEC data frame,wherein T_(p)·B_(p)+T_(p)−1 consecutive bytes at the end of the FECframe are usable for payload transmission or, in other words, thepreceding synchronization octet labeled with reference numeral 51 inFIG. 9 has the “greatest distance” from the end of the FEC frame.

In this case, for processing a data unit like an ATM cell, the datashown in a shaded manner in FIG. 10 in a portion generally denoted withreference numeral 52 has to be received. In particular, in this caseafter the last byte 50 of the ATM cell of FIG. 9, only the followingredundancy bytes labeled 53 in FIG. 10 have to be received in order toenable a receiver to process the ATM cell.

Returning now to FIG. 4, after the best case position has beendetermined a best case delay is calculated based thereon in theembodiment of FIG. 4 in step 34 thereof. These calculations of the bestcase delay in an embodiment use the same principle as the worst casedelay calculation of step 32, but where in the worst case calculationcircumstances leading to the greatest delay are assumed, according tothis embodiment for the best case delay calculation the circumstancesleading to the smallest delay are assumed. This will be againillustrated using ADSL2 as an example. In the following, a pseudocode isshown which in an embodiment is used for calculation of the best case orminimum delay:

-   -   1: N_(P)=M_(P)·(B_(P)+1)+R_(P)    -   2: X=53    -   3: MMDF=floor(X/(T_(P)·(B_(P)+1)−1))    -   4: MDFB1=MMDF·T_(P)·(B_(P)+1)−1)    -   5: X1=X−MMDF·(T_(P)·(B_(P)+1)−1)    -   6: MDFB2=X1    -   7: MDFB=MDFB1+MDFB2    -   8: F=floor(MDFB/(M_(P)·(B_(P)+1)))    -   9: Y1=F·N_(P)    -   10: MDFBR=MDFB−F·(M_(P)·(B_(P)+1))    -   11: if MDFBR>0 then Y2=MDFBR+R_(P) else Y2=0    -   12: Y=Y1+Y2+(N_(P)−1)(D_(P)−1)    -   13: MinDelayInSymbols (z)=8·Y/L_(P)

In line 1, similar to line 1 of the pseudocode given as an example forcalculating the worst case delay, the total number of bytes N_(P) in anFEC data frame is calculated.

In line 2, the number X of payload bytes to be transmitted is defined as53, i.e., one ATM cell in this example. This corresponds to thesituation where, when the ATM cell arrives, an idle cell insertion isjust finished such that the ATM cell can be mapped to one or more framesimmediately, also without having to insert a synchronization symbol or acyclic prefix.

In line 3, the integer number of multi MUX data frames needed for Xbytes is calculated, one multi MUX data frame as before consisting ofT_(P) MUX data frames.

In line 4, the number of MUX data frame bytes in the number of multi MUXdata frames calculated in line 3 is determined.

In line 5, the remaining bytes X1 are calculated. As seen from line 6,this remaining number of bytes corresponds to a number MDFB2 of MUX dataframe bytes needed for the transmission of X bytes in addition to theMDFB1 bytes calculated in step 4.

Therefore, in line 7 the total number MDFB of MUX data frame bytesneeded as calculated as the sum of MDFB1 and MDFB2.

In line 8, the integer number F of FEC data frames needed for thetransmission of MDFB MUX data frame bytes is calculated. In other words,it is calculated how many complete FEC data frames are filled with theMDFB bytes.

In line 9, Y1 which is the number of bytes which have to be transmittedfor transmitting the FEC data frames is calculated as F·N_(p).

In the example of FIGS. 9 and 10, F would be equal to 4 (the FEC dataframes of lines 5-8 of this figure).

In step 10, the number of remaining bytes MDFBR, i.e., the number ofbytes in addition to complete FEC frames, is calculated. These bytescorresponding to the shaded area in the first line of region 49 of FIG.9.

In line 11, the number of bytes Y2 needed for transmitting the MDFBRbytes is calculated. In particular, if MDFBR>0 Rp redundancy bytes haveto be additionally transmitted.

In line 12, the needed bytes Y for transmitting including the interleavedelay are calculated as a sum of Y1, Y2 and the same term forinterleaver delay which already has been explained with reference toFIGS. 11 and 12.

Finally, in line 13 the minimum delay in symbols is calculated, whereinz again is the index specifying the link for which the calculation hasbeen performed. In contrast to the worst case, for the best case it isassumed that the end of the interleave frames are aligned with end ofsymbol, and no further transmission delays occur such that the minimumdelay in symbols correspond to 8·Y/L_(P), wherein L_(P) as explained isthe number of bits per symbol.

Returning now to FIG. 4, in an embodiment the steps 30-34 are performedfor each link, i.e., each index z. In another embodiment, the steps areonly performed for one link or for a part of the links.

In step 35, based on the calculated worst case delays and/or based onthe calculated best case delays of the various links, the delays ofdelay elements for the individual links are adjusted. In an embodiment,the delay elements are provided at a transmitter, like delay elements 26shown in FIG. 2.

In an embodiment, the delays of the delay elements are adjusted suchthat the maximum delay seen by a receiver is at least approximately thesame for all links. In an embodiment where the calculation is performedat one end of the line, for example, at a receiver, the results aretransmitted to the other end of the line, for example, the correspondingtransmitter. In case of ATM based transmission, this may in anembodiment be done using so-called autonomous status message (ASM)cells.

As an example corresponding to the illustrative example given above forthe calculation of the maximum delay and the minimum delay, in thefollowing an example for a pseudocode according to an embodiment foradjusting the delays is given:

1: MaxDelayOfAllBondedLinesInSymbols=max(MaxDelayInSymbols(z))

2:PrecompensationDelayInSymbols(z)=MaxDelayOfAllBondedLinesInSymbols−MaxDelayInSymbols(z)

3:PrecompensationDelayIn100MicroSeconds(z)=floor(PrecompensationDelayInSymbols(z)*250/100)

4:MinDelaySymbolsWithPrecompensation(z)=MinDelaySymbols(z)+PrecompensationDelayIn100MicroSeconds(z)*250/100

5:MaxDelayInSymbolsWithPrecompensation(z)+PrecompensationDelayIn100MicroSeconds(z)*250/100

In line 1, the maximum delay MaxDelayOfAllBondedLinesInSymbols of allthe links is determined as the maximums of the individual delaysdetermined in step 32 of FIG. 4 for each link.

In line 2, for each link z a delay in symbols, which in case of delayunits at a transmitter may also be labeled precompensation delay, iscalculated as the maximum delay of all bonded links minus the maximumdelay calculated for the respective link. With this choice, for alllinks at least approximately the maximum delay is seen by a receiver.

Line 3 converts the precompensation delay in symbols for each line to aprecompensation delay given in units of 100 microseconds by using thatin ADSL2 symbol rate is 1 symbol per 250 microseconds. As a matter ofcourse, with other communication standards this time has to be adjustedaccordingly.

In lines 4 and 5, the minimum delay in symbols and the maximum delay insymbols, respectively, for each line taking the delay adjustmentcalculated in steps 2 and 3 into account are calculated for the casewhen the precompensation delay in 100 microseconds calculated in line 3is used as the setting of the respective delay unit. These values may becommunicated, e.g., from a receiver to a transmitter, e.g., by using ASMcells.

It is to be understood that the above-described embodiments serve onlyas examples, and numerous modifications are possible without departingfrom the scope of the invention. For example, while in the embodiment ofFIG. 1 a plurality of links are shown, an embodiment of the presentinvention may comprise only a single link, wherein a maximum delay and aminimum delay for this single link is calculated. Furthermore, while inthe above embodiments ATM cells have been described as an example fordata units which are to be transmitted, the embodiments described areindependent from the type of data unit and may therefore also be usedfor other kinds of data units. In such an embodiment which is, forexample, based on the pseudo codes given above, the value for X thenwould be adjusted to the number of bytes of this data unit.

Moreover, while in the embodiment of FIG. 4 a worst case delay and abest case delay is calculated, in another embodiment only one of theseextremal delays is calculated. While in the embodiment of FIG. 4 theresults are used for adjusting delay units, in other embodiments theresults may be used for other purposes, for example, for informationpurposes.

Furthermore, while in FIGS. 5-10 a specific frame structure has beenused as an illustrative example, in a different embodiment a differentdata structure for transmitting data units via a link may be used. Alsowith a different data structure, the position of the data unit withinthe data structure may be varied to determine a worst case position anda best case position in an embodiment.

Furthermore, while the communication parameters described above whichdetermine the data structure used for transmission via the links havebeen described using ADSL as an example, similar or other parameters areused in other types of communication, and worst case and/or best casepositions of data units within the data structures may be determinedusing such parameters. For example, in VDSL a similar interleaving andframing, i.e., a similar data structure is used. However, instead of aTC sublayer using ATM cells, in VDSL2 a packet aggregation function(PAF) with sublayer data units having 64 or 65 octets is used. In thiscase, instead of ATM cells having 53 bytes, packets having 64 byteswould be used for calculation in an embodiment. Furthermore, while inthe ADSL case an idle cell insertion of 53 bytes has been assumed forthe worst case, with the VDSL 2 TC sublayer using 64 or 65 octetsaccording to current standards the delay would be 3 bytes as a maximum,an idle byte, a synchronization byte and a start of packet byte.Therefore, for example, in an embodiment for calculating the worst casedelay instead of X=2·53 in the example above X=64+3 could be used.

Similar modifications may be made for adapting the above embodiments toother communication standards or methods.

Further modifications are apparent to persons skilled in the art withoutdeparting from the spirit and scope of the present invention, which isnot intended to be limited by the exemplary embodiments defined above,but intended to be limited only by the appended claims.

1. A communication method comprising: determining a position of a dataunit within a data structure used for transmitting the data unit suchthat the position causes an extremal delay; calculating the extremaldelay based on the position; and electronically communicating data witha timing based at least in part on the extremal delay, wherein theextremal delay comprises a maximum delay or a minimum delay, wherein thedata structure comprises a plurality of frames; and determiningcomprises determining the position such that a last data subunit of thedata unit coincides with a first subunit of a frame.
 2. Thecommunication method according to claim 1, wherein determining comprisesdetermining the position such that a maximum amount of data has to betransmitted before the data unit is processable by a receiver.
 3. Thecommunication method according to claim 1, wherein the last data subunitis a byte.
 4. The communication method according to claim 1, wherein acalculating step comprises calculating a number of subunits of the datastructure that have to be transmitted before processing of the data unitis possible at a receiver.
 5. The communication method according toclaim 4, wherein calculating further comprises calculating a time neededfor transmitting the number of subunits.
 6. The communication methodaccording to claim 1, further comprising determining at least onecommunication parameter describing the data structure.
 7. Thecommunication method according to claim 6, wherein the at least onecommunication parameter comprises at least one communication parameterselected from the group consisting of a parameter defining an additionof redundancy data, a parameter defining a number of data subunits perframe, a parameter determining a depth of an interleaver, a parameterdefining a frequency of synchronization information, and a parameterdefining a number of bits per symbol.
 8. The communication methodaccording to claim 1, further comprising setting a delay of a delaycircuit based on the extremal delay.
 9. The communication methodaccording to claim 1, wherein transmitting or receiving comprises:transmitting data units via a plurality of communication links; andwherein determining and calculating are performed for each linkindividually to calculate an extremal delay for each link.
 10. Thecommunication method according to claim 9, further comprising settingrespective delays of delay circuits for each link based on thecalculated extremal delays.
 11. The communication method according toclaim 10, wherein setting comprises setting the delays such that amaximum delay for all communication links is approximately the same. 12.The communication method according to claim 1, wherein the communicationmethod is a DSL based communication.
 13. The communication methodaccording to claim 1, wherein the data structure comprises at least oneframe; and wherein determining comprises determining the position of thedata unit such that a maximum or a minimum number of data subunits inthe at least one frame that would need to be decoded after a last datasubunit is received in order to decode the data unit.
 14. The methodaccording to claim 1, wherein the position causes an influence on theextremal delay, wherein the influence on the extremal delay isindependent of delays caused by a physical implementation of atransmitter and/or a receiver and independent of link delays between thetransmitter and the receiver.
 15. The communication method according toclaim 14, wherein electronically communicating data further compriseselectronically communicating the data with the timing based on a furtherinfluence on the extremal delay, wherein the further influence is causedby the physical implementation of the transmitter and/or the receiver.16. A communication apparatus, comprising: a communication circuit tocommunicate via at least one link using a data structure, thecommunication circuit comprising a transmitter circuit and/or a receivercircuit; and a calculation circuit to determine a position of a dataunit within the data structure such that the position causes an extremaldelay, and to calculate the extremal delay based on the position whereinthe extremal delay comprises a maximum delay or a minimum delay, whereinthe data structure comprises a plurality of frames, and the position ofa data unit is determined such that a last data subunit of the data unitcoincides with a first data subunit of the frame.
 17. The apparatusaccording to claim 16 wherein the position of a data unit is determinedsuch that a maximum amount of data has to be transmitted before the dataunit is processable by a receiver.
 18. The apparatus according to claim16, wherein the data subunit is a byte.
 19. The apparatus according toclaim 16 wherein the communication circuit is configured to determine atleast one communication parameter describing the data structure.
 20. Theapparatus according to claim 16 wherein the communication circuit isconfigured to communicate via a plurality of communication links; andwherein the extremal delay is determined for each of the plurality ofcommunication links.
 21. The apparatus according to claim 20, furthercomprising a plurality of delay circuits, one delay circuit beingassigned to each communication link.
 22. The apparatus according toclaim 16, wherein the data structure comprises at least one frame; andwherein determining comprises determining the position of the data unitsuch that a maximum or a minimum number of data subunits in the at leastone frame that would need to be decoded after a last data subunit isreceived in order to decode the data unit.
 23. The apparatus accordingto claim 16, the position causes an influence on the extremal delay, theinfluence on the extremal delay is independent of delays caused by aphysical implementation of a transmitter and/or a receiver andindependent of link delays between the transmitter and the receiver. 24.The apparatus according to claim 23, further comprising the transmitter,the transmitter configured to transmit data using a timing based on theextremal delay.
 25. The apparatus according to claim 24, wherein theextremal delay is further influenced by a delay caused by the physicalimplementation of the transmitter and/or the receiver.
 26. Acommunication method comprising: determining a position of a data unitwithin a data structure used for transmitting the data unit such thatthe position causes a delay, wherein the data structure comprises aplurality of frames, and wherein determining comprises determining theposition such that a last data subunit of the data unit coincides with afirst subunit of a frame; calculating the delay based on the position;and electronically communicating data with a timing based at least inpart on the delay.
 27. The communication method according to claim 26,wherein the last data subunit is a byte.
 28. A communication apparatus,comprising: a communication circuit to communicate via at least one linkusing a data structure, the communication circuit comprising atransmitter circuit and/or a receiver circuit; and a calculation circuitto determine a position of a data unit within the data structure suchthat the position causes a delay, and to calculate the delay based onthe position, wherein the data structure comprises a plurality offrames, and wherein the position of a data unit is determined such thata last data subunit of the data unit coincides with a first data subunitof the frame.
 29. The apparatus according to claim 28, wherein the datasubunit is a byte.